﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;

namespace Main.UI.Windows
{
    public abstract partial class ToolWindow : DockContent, IToolWindow
    {
        public ToolWindow()
        {
            InitializeComponent();            
        }


        public void Adjust(Visibility value)
        {
            if (value == Visibility.Show)
            {
                this.Show();
            }
            else
            {
                this.Hide();
            }
        }
    }
}
